package com.nai365.nart.blockchain.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

@Data
@ApiModel("铸币信息")
public class CoinDDCDto {
	@ApiModelProperty(value = "spuID")
	@NotBlank(message = "spuID不能为空")
	private Long spuId;

	@ApiModelProperty(value = "spu名称")
	@NotBlank(message = "spu名称不能为空")
	private String spuName;

	@ApiModelProperty(value = "品牌ID")
	@NotBlank(message = "品牌ID不能为空")
	private Long brandId;

	@ApiModelProperty(value = "品牌名称")
	@NotBlank(message = "品牌名称不能为空")
	private String brandName;

	@ApiModelProperty(value = "ddc uri")
	@NotBlank(message = "ddc uri不能为空")
	private String uri;

	@ApiModelProperty(value = "发行份数")
	@NotBlank(message = "发行份数不能为空")
	private Long copies;

}
